//图片滚动速度
var speed=200;

//获取需要处理的DOM元素
var scroll_begin=document.getElementById("scroll_begin");
var scroll_end=document.getElementById("scroll_end");
var scroll_box=document.getElementById("scroll_box");

//复制图片元素
scroll_end.innerHTML=scroll_begin.innerHTML;

//设计滚动区域
scroll_box.scrollLeft=0;

console_box.scrollLeft=0;

console.log()

function marquee(){
    if(scroll_box.scrollLeft>=scroll_end.offsetWidth){
        scroll_box.scrollLeft>=scroll_begin.offsetWidth
    }else{
        scroll_box.scrollLeft++;
    }
}

//定时滚动
setInterval(marquee,speed);
